//
//  AddSuccessWithGuanLiVC.m
//  EnterpriseEdition
//
//  Created by ypj on 2021/10/9.
//

#import "AddSuccessWithGuanLiVC.h"
#import"RenYuanGuanLiListVC.h"
@interface AddSuccessWithGuanLiVC ()

@end

@implementation AddSuccessWithGuanLiVC
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self layoutCustomNav:self.view title:@"提价成功"];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.fuZhiButton whenTapped:^{
        UIPasteboard  *  copy =[UIPasteboard generalPasteboard];
        [copy setString:self.vinviteCode];
     if (copy==nil||[self.vinviteCode isEqualToString:@""]){

     } else {
            showAlert(@"复制成功");
        }
    }];
}
-(void)backButtonClick:(UIButton *)sender{
    for (UIViewController *controller in self.navigationController.viewControllers){
            if ([controller isKindOfClass:[RenYuanGuanLiListVC class]]){
                RenYuanGuanLiListVC *messageVC =(RenYuanGuanLiListVC *)controller;
                 [self.navigationController popToViewController:messageVC animated:YES];
         }
     }
}

@end
